package generator.model;

import java.util.List;
import java.util.Random;

public abstract class AbstractGenerator {

	public String getRandom(List<String> listOfItems) {
		Random r = new Random();
		return listOfItems.get(r.nextInt(listOfItems.size()));
	}


}
